/*
 Navicat Premium Dump Script

 Source Server         : LocalMongoDB
 Source Server Type    : MongoDB
 Source Server Version : 80013 (8.0.13)
 Source Host           : localhost:27017
 Source Schema         : ocr

 Target Server Type    : MongoDB
 Target Server Version : 80013 (8.0.13)
 File Encoding         : 65001

 Date: 23/08/2025 12:47:18
*/

// ----------------------------
// Collection structure for llm-result
// ----------------------------
db.getCollection("llm-result").drop();
db.createCollection("llm-result");
db.getCollection("llm-result").createIndex({
    task_id: "hashed"
}, {
    name: "uniq_idx"
});

// ----------------------------
// Collection structure for llm-task
// ----------------------------
db.getCollection("llm-task").drop();
db.createCollection("llm-task");
db.getCollection("llm-task").createIndex({
    task_id: "hashed"
}, {
    name: "uniq_idx"
});

// ----------------------------
// Collection structure for ocr-result
// ----------------------------
db.getCollection("ocr-result").drop();
db.createCollection("ocr-result");
db.getCollection("ocr-result").createIndex({
    task_id: "hashed"
}, {
    name: "uniq_idx"
});

// ----------------------------
// Collection structure for ocr-task
// ----------------------------
db.getCollection("ocr-task").drop();
db.createCollection("ocr-task");
db.getCollection("ocr-task").createIndex({
    task_id: "hashed"
}, {
    name: "uniq_idx"
});

// ----------------------------
// Collection structure for llm-chat
// ----------------------------
db.getCollection("llm-chat").drop();
db.createCollection("llm-chat");
db.getCollection("llm-chat").createIndex({
    task_id: "hashed"
}, {
    name: "uniq_idx"
});
